package cn.dimao.dhd.pojo.vo;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @Author: KenChen
 * @Description: 基础类,方便日后拓展
 * @Date: Create in  2024/2/26 15:56
 */

@Data
public abstract class BaseEntity {

    //代表这个是逻辑删除字段
    @TableLogic
    private boolean deleteflag;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

}
